object frmMateriais: TfrmMateriais
  Left = 210
  Top = 134
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsSingle
  Caption = 'PROFESTA - Materiais'
  ClientHeight = 528
  ClientWidth = 735
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -15
  Font.Name = 'Calibri'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poDesktopCenter
  Visible = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 18
  object Label1: TLabel
    Left = 19
    Top = 12
    Width = 178
    Height = 18
    Caption = 'Selecione o tipo do material:'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -15
    Font.Name = 'Calibri'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object lbAjudaMateriais: TInternetLabel
    Left = 669
    Top = 9
    Width = 33
    Height = 13
    Cursor = crHandPoint
    Caption = 'Ajuda'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clBlue
    Font.Height = -12
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold, fsUnderline]
    ParentFont = False
  end
  object pnlocalizafornecedor: TPanel
    Left = 17
    Top = 68
    Width = 704
    Height = 358
    TabOrder = 5
    Visible = False
    object Label2: TLabel
      Left = 16
      Top = 13
      Width = 133
      Height = 18
      Caption = 'Nome do fornecedor:'
    end
    object Btnfecharlocalizafornecedor: TBitBtn
      Left = 586
      Top = 320
      Width = 89
      Height = 25
      Caption = 'Fechar'
      TabOrder = 0
      OnClick = BtnfecharlocalizafornecedorClick
    end
    object edlocalizafornecedor: TEdit
      Left = 155
      Top = 6
      Width = 537
      Height = 26
      TabOrder = 1
      OnChange = edFornecedorChange
    end
    object GridLocalizaFornecedor: TDBGrid
      Left = 16
      Top = 41
      Width = 676
      Height = 272
      DataSource = DsLocalizaFornecedor
      TabOrder = 2
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -15
      TitleFont.Name = 'Calibri'
      TitleFont.Style = []
    end
    object btnUsarEsteFornecedor: TBitBtn
      Left = 405
      Top = 320
      Width = 158
      Height = 25
      Caption = 'Usar este fornecedor'
      Enabled = False
      TabOrder = 3
      OnClick = btnUsarEsteFornecedorClick
    end
  end
  object pnCadastroMaterial: TPanel
    Left = -28
    Top = 68
    Width = 720
    Height = 429
    BevelOuter = bvNone
    ParentBackground = False
    TabOrder = 2
    Visible = False
    object lbNomeMaterial: TLabel
      Left = 45
      Top = 252
      Width = 116
      Height = 18
      Caption = 'Nome do material:'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object lbValorUnitario: TLabel
      Left = 45
      Top = 304
      Width = 183
      Height = 18
      Caption = 'Valor unit'#225'rio de compra:    R$'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object lbQuantidade: TLabel
      Left = 444
      Top = 335
      Width = 111
      Height = 18
      Caption = 'Quantidade atual:'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object lbQuantidadeComprada: TLabel
      Left = 45
      Top = 335
      Width = 141
      Height = 18
      Caption = 'Quantidade comprada:'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object lbFornecedor: TLabel
      Left = 45
      Top = 372
      Width = 75
      Height = 18
      Caption = 'Fornecedor:'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object lbValorUitarioAluguel: TLabel
      Left = 371
      Top = 304
      Width = 183
      Height = 18
      Caption = 'Valor unit'#225'rio de aluguel:    R$'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object btnbuscafornecedor: TSpeedButton
      Left = 126
      Top = 368
      Width = 23
      Height = 22
      Hint = 'Buscar Fornecedor'
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        18000000000000030000130B0000130B00000000000000000000FFFFFFFFFFFF
        FFFFFF7C6055784E3DA6A6A6FCFCFCFFFFFFFFFFFFFFFFFFE7E7E7828282DEDE
        DEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC3C3C3A64500FF7909BA4D007A5C4FEB
        EBEBFFFFFFFDFDFD7C6055C45100864419A19B97FFFFFFFFFFFFFFFFFFFFFFFF
        5B4A40E36F00FF9A13FF9C13E576006F4A3AE0E0E07B7979C05E00FF9D13FF7E
        00644736FFFFFFFFFFFFFFFFFFFFFFFFA8A5A5846E5E8A5011FD9D00FFBA19DD
        8400704313BC6F00FFB219FFAD15854B0DCECECEFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFD5D5D5765630FFB300FFCC24FFBF1CFFCE25FFC620986105ACAC
        ACFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB4B4B4BD7E00FF
        DB35FFD536FFC1097D5007949494FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFB2B2B2D89600FFE654FFDF4FD28C007B4B058361358E81
        76E1E1E1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC1C1C1CE8E00FF
        F37CFFE878FFEE7CFFEF78FFE86DCC8300A0A0A0FFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFEEEEEE80571BFFEB94FFFFB1FFCA3EFFB60CFFD64DAB6E
        00D8D8D8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA5A5A5CB
        7F04F9A5057E675BAEAEAE8A7A737D726DFDFDFDFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAFAFAF3535356653538D8D8DFBFBFBFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFC86
        6861BF3C02FE4E00CD3E007B5C50FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFD0D0D09D5200FF9A13FF9113FF9413A35200C9C9
        C9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7C7C7B1
        7300FFD82BFFCA28FFCA26B47300C1C1C1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFF4F4F4765832FFC01AFFE776FFCD36785A2CF1F1
        F1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDE
        DEDE735E4D784914795F4BD9D9D9FFFFFFFFFFFFFFFFFFFFFFFF}
      ParentShowHint = False
      ShowHint = True
      Visible = False
      OnClick = btnbuscafornecedorClick
    end
    object lbfornecedorencontrado: TLabel
      Left = 45
      Top = 400
      Width = 152
      Height = 18
      Caption = 'lbfornecedorencontrado'
      Font.Charset = ANSI_CHARSET
      Font.Color = clGray
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object lbtipomaterialselecionado: TLabel
      Left = 45
      Top = 229
      Width = 163
      Height = 18
      Caption = 'lbtipomaterialselecionado'
    end
    object lbmaterialencontrado: TLabel
      Left = 45
      Top = 276
      Width = 135
      Height = 18
      Caption = 'lbmaterialencontrado'
      Font.Charset = ANSI_CHARSET
      Font.Color = clGray
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object lbmateriaisdiferentes: TLabel
      Left = 653
      Top = 205
      Width = 60
      Height = 18
      BiDiMode = bdRightToLeft
      Caption = 'lbmateria'
      ParentBiDiMode = False
    end
    object GriddetalhesdoMaterial: TDBAdvGrid
      Left = 45
      Top = 16
      Width = 668
      Height = 176
      Cursor = crDefault
      ColCount = 2
      RowCount = 2
      FixedRows = 1
      Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goDrawFocusSelected, goColSizing, goRowSelect]
      ScrollBars = ssBoth
      TabOrder = 0
      ActiveCellFont.Charset = DEFAULT_CHARSET
      ActiveCellFont.Color = clWindowText
      ActiveCellFont.Height = -11
      ActiveCellFont.Name = 'Tahoma'
      ActiveCellFont.Style = [fsBold]
      Filter = <>
      FixedColWidth = 20
      FixedRowHeight = 22
      FixedFont.Charset = DEFAULT_CHARSET
      FixedFont.Color = clWindowText
      FixedFont.Height = -11
      FixedFont.Name = 'Tahoma'
      FixedFont.Style = [fsBold]
      FloatFormat = '%.2f'
      PrintSettings.DateFormat = 'dd/mm/yyyy'
      PrintSettings.Font.Charset = DEFAULT_CHARSET
      PrintSettings.Font.Color = clWindowText
      PrintSettings.Font.Height = -11
      PrintSettings.Font.Name = 'Tahoma'
      PrintSettings.Font.Style = []
      PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
      PrintSettings.FixedFont.Color = clWindowText
      PrintSettings.FixedFont.Height = -11
      PrintSettings.FixedFont.Name = 'Tahoma'
      PrintSettings.FixedFont.Style = []
      PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
      PrintSettings.HeaderFont.Color = clWindowText
      PrintSettings.HeaderFont.Height = -11
      PrintSettings.HeaderFont.Name = 'Tahoma'
      PrintSettings.HeaderFont.Style = []
      PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
      PrintSettings.FooterFont.Color = clWindowText
      PrintSettings.FooterFont.Height = -11
      PrintSettings.FooterFont.Name = 'Tahoma'
      PrintSettings.FooterFont.Style = []
      PrintSettings.PageNumSep = '/'
      ScrollWidth = 16
      SearchFooter.FindNextCaption = 'Find &next'
      SearchFooter.FindPrevCaption = 'Find &previous'
      SearchFooter.Font.Charset = DEFAULT_CHARSET
      SearchFooter.Font.Color = clWindowText
      SearchFooter.Font.Height = -11
      SearchFooter.Font.Name = 'Tahoma'
      SearchFooter.Font.Style = []
      SearchFooter.HighLightCaption = 'Highlight'
      SearchFooter.HintClose = 'Close'
      SearchFooter.HintFindNext = 'Find next occurence'
      SearchFooter.HintFindPrev = 'Find previous occurence'
      SearchFooter.HintHighlight = 'Highlight occurences'
      SearchFooter.MatchCaseCaption = 'Match case'
      Version = '2.1.6.0'
      AutoCreateColumns = True
      AutoRemoveColumns = True
      Columns = <
        item
          Borders = []
          BorderPen.Color = clSilver
          CheckFalse = 'N'
          CheckTrue = 'Y'
          Color = clWindow
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'Tahoma'
          Font.Style = []
          HeaderFont.Charset = DEFAULT_CHARSET
          HeaderFont.Color = clWindowText
          HeaderFont.Height = -11
          HeaderFont.Name = 'Tahoma'
          HeaderFont.Style = []
          PrintBorders = [cbTop, cbLeft, cbRight, cbBottom]
          PrintFont.Charset = DEFAULT_CHARSET
          PrintFont.Color = clWindowText
          PrintFont.Height = -11
          PrintFont.Name = 'Tahoma'
          PrintFont.Style = []
          Width = 20
        end
        item
          Borders = []
          BorderPen.Color = clSilver
          CheckFalse = 'N'
          CheckTrue = 'Y'
          Color = clWindow
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -15
          Font.Name = 'Calibri'
          Font.Style = []
          HeaderFont.Charset = DEFAULT_CHARSET
          HeaderFont.Color = clWindowText
          HeaderFont.Height = -11
          HeaderFont.Name = 'Tahoma'
          HeaderFont.Style = []
          PrintBorders = [cbTop, cbLeft, cbRight, cbBottom]
          PrintFont.Charset = DEFAULT_CHARSET
          PrintFont.Color = clWindowText
          PrintFont.Height = -11
          PrintFont.Name = 'Tahoma'
          PrintFont.Style = []
          Width = 64
        end>
      DataSource = DSDetalhesMaterial
      ShowUnicode = False
      ColWidths = (
        20
        64)
    end
    object edNomeMaterial: TEdit
      Left = 172
      Top = 249
      Width = 541
      Height = 26
      CharCase = ecUpperCase
      Enabled = False
      MaxLength = 50
      TabOrder = 1
      Visible = False
    end
    object edValorUnitario: TEdit
      Left = 243
      Top = 298
      Width = 106
      Height = 26
      BiDiMode = bdRightToLeft
      Enabled = False
      ParentBiDiMode = False
      TabOrder = 2
      Visible = False
      OnExit = edValorUnitarioExit
    end
    object spinQuantidadeatual: TSpinEdit
      Left = 569
      Top = 332
      Width = 89
      Height = 28
      Enabled = False
      MaxValue = 1000000
      MinValue = 1
      TabOrder = 5
      Value = 1
      Visible = False
    end
    object btbtnInserir: TBitBtn
      Left = 477
      Top = 396
      Width = 131
      Height = 25
      Caption = 'Inserir material'
      TabOrder = 7
      Visible = False
      OnClick = btbtnInserirClick
    end
    object btbtnCancelaInsercao: TBitBtn
      Left = 624
      Top = 396
      Width = 89
      Height = 25
      Caption = 'Cancelar'
      TabOrder = 8
      Visible = False
      OnClick = btbtnCancelaInsercaoClick
    end
    object edFornecedor: TEdit
      Left = 153
      Top = 364
      Width = 560
      Height = 26
      Enabled = False
      TabOrder = 6
      Visible = False
      OnChange = edFornecedorChange
    end
    object btbtnCadastrarMaterial: TBitBtn
      Left = 256
      Top = 198
      Width = 195
      Height = 25
      Caption = 'Cadastrar novo material'
      Enabled = False
      TabOrder = 9
      OnClick = btbtnCadastrarMaterialClick
    end
    object edValorUnitarioAluguel: TEdit
      Left = 569
      Top = 297
      Width = 106
      Height = 26
      BiDiMode = bdRightToLeft
      Enabled = False
      ParentBiDiMode = False
      TabOrder = 3
      Visible = False
      OnExit = edValorUnitarioAluguelExit
    end
    object btbtnEditar: TBitBtn
      Left = 45
      Top = 198
      Width = 195
      Height = 25
      Caption = 'Editar detalhes'
      Enabled = False
      TabOrder = 10
      OnClick = btbtnEditarClick
    end
    object Spinquantidadecomprada: TSpinEdit
      Left = 243
      Top = 332
      Width = 95
      Height = 28
      Enabled = False
      MaxValue = 1000000
      MinValue = 1
      TabOrder = 4
      Value = 1
      Visible = False
      OnExit = SpinquantidadecompradaExit
    end
  end
  object pnNovoTipo: TPanel
    Left = 18
    Top = 68
    Width = 298
    Height = 110
    TabOrder = 3
    Visible = False
    object Label5: TLabel
      Left = 13
      Top = 32
      Width = 65
      Height = 18
      Caption = 'Novo tipo:'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = 'Calibri'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object btbtnInserirTipo: TBitBtn
      Left = 93
      Top = 58
      Width = 94
      Height = 25
      Caption = 'Inserir tipo'
      TabOrder = 0
      OnClick = btbtnCadastrarClick
    end
    object BitBtn2: TBitBtn
      Left = 205
      Top = 58
      Width = 75
      Height = 25
      Caption = 'Cancelar'
      TabOrder = 1
      OnClick = btbtnCancelarClick
    end
    object edtNovoTipo: TEdit
      Left = 92
      Top = 26
      Width = 187
      Height = 26
      CharCase = ecUpperCase
      TabOrder = 2
      OnChange = edNovoTipoChange
      OnKeyPress = edNovoTipoKeyPress
    end
  end
  object btnfecharmateriais: TBitBtn
    Left = 596
    Top = 495
    Width = 89
    Height = 25
    Caption = 'Fechar'
    TabOrder = 4
    OnClick = btnfecharmateriaisClick
  end
  object cbboxSelecionaTipo: TComboBox
    Left = 19
    Top = 36
    Width = 257
    Height = 26
    Style = csDropDownList
    ItemHeight = 0
    TabOrder = 0
    OnChange = cbboxSelecionaTipoChange
  end
  object btbtnCadastrarTipo: TBitBtn
    Left = 288
    Top = 36
    Width = 274
    Height = 25
    Caption = 'Cadastrar novo tipo de material'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -15
    Font.Name = 'Calibri'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    OnClick = btbtnCadastrarTipoClick
  end
  object BtngravarEdicao: TBitBtn
    Left = 449
    Top = 495
    Width = 131
    Height = 25
    Caption = 'Gravar'
    TabOrder = 6
    Visible = False
    OnClick = BtngravarEdicaoClick
  end
  object btncancelar: TBitBtn
    Left = 307
    Top = 495
    Width = 131
    Height = 25
    Caption = 'Cancelar'
    TabOrder = 7
    Visible = False
    OnClick = btncancelarClick
  end
  object queryTipoMaterial: TZReadOnlyQuery
    Connection = Frmsenha.conn
    Params = <>
    Left = 579
    Top = 32
  end
  object query1: TZReadOnlyQuery
    Connection = Frmsenha.conn
    Params = <>
    Left = 579
    Top = 72
  end
  object QueryDetalhesMaterial: TZReadOnlyQuery
    Connection = Frmsenha.conn
    SQL.Strings = (
      
        'select descricao, valor_unitario_aluguel,quantidade_atual from m' +
        'aterial')
    Params = <>
    Left = 619
    Top = 104
  end
  object DSDetalhesMaterial: TDataSource
    DataSet = QueryDetalhesMaterial
    OnDataChange = DSDetalhesMaterialDataChange
    Left = 651
    Top = 104
  end
  object Querylocalizafornecedor: TZReadOnlyQuery
    Connection = Frmsenha.conn
    Params = <>
    Left = 243
    Top = 456
  end
  object DsLocalizaFornecedor: TDataSource
    DataSet = Querylocalizafornecedor
    OnDataChange = DsLocalizaFornecedorDataChange
    Left = 728
    Top = 424
  end
end
